package com.ruoyi.group.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:黄志超
 * @Todo:封装查看用户所有订单类
 * @DateTime:2022/3/8 19:07
 * @Component:蜗牛
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiOperation("封装查看用户所有订单类")
public class RepairOrderDto {
    //用户ID
    @ApiModelProperty("用户ID")
    private Integer userid;
    //工单编号
    @ApiModelProperty("工单编号")
    private String orderNo;
    //问题内容
    @ApiModelProperty("问题内容")
    private String roDescription;
    //工单问题类型
    @ApiModelProperty("工单问题类型")
    private String roType;
    //提交时间
    @ApiModelProperty("提交时间")
//    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private String createTime;
    //状态
    @ApiModelProperty("工单状态")
    private String roStatus;
}
